<?php
/*
	监听电商客判断商品事件
*/
defined('BY_JYA') or exit('error');
$type=$event['type'];
$goods_id=$event['goods_id'];
$nomsg=$event['nomsg'];
if(!$type){
	return;
}
if($type=='check' && !$nomsg){
	$this->model('model')->check_buy($goods_id,$nomsg);
}